package com.mcxx.modules.miniSalvation.order.service.read;

import com.mcxx.modules.miniSalvation.order.dao.read.SuspendApproveReadDao;
import com.mcxx.modules.miniSalvation.order.entity.SuspendApproveEntity;
import com.yinhai.ta404.core.service.BaseService;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("suspendApproveReadService")
@TaTransactional(readOnly = true)
public class SuspendApproveReadService extends BaseService {

    @Autowired
    private SuspendApproveReadDao suspendApproveReadDao;


    public List<SuspendApproveEntity> findApproveBySuFmId(String susFamilyId){
        return suspendApproveReadDao.findApproveBySuFmId(susFamilyId);
    }
}
